<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
    <f:layout name="Default" />

    This Template is responsible for creating a table of domain objects.

    If you modify this template, do not forget to change the overwrite settings
    in /Configuration/ExtensionBuilder/settings.yaml:
    Resources:
    Private:
    Templates:
    List.html: keep

    Otherwise your changes will be overwritten the next time you save the extension in the extension builder

    <f:section name="content">
<f:flashMessages />
        <f:form action="certificate" class="form-inline" method="post">
            <div class="form-group" style="margin-top: 20px;">
                <label for="certnumber">证书编号</label>
                <f:form.textfield name="certnumber" class="form-control" id="certnumber" value="" placeholder="请输入"/>
            </div>
            <button type="submit" class="btn c-btn-square c-theme-btn c-btn-uppercase c-btn-bold" style="margin-top: 20px;">查询</button>
        </f:form>
        <f:if condition="{no-result}">
            <br/>
            <p style="color: red;">查询无数据</p>
        </f:if>
        <f:if condition="{certnumber}">
            <br/>
            <f:image src="uploads/certificate/{certnumber}.jpg" maxWidth="999" class="img-responsive" />
        </f:if>
    </f:section>
</html>